/**
 * 
 */
package com.base.common.persistent.dao;

import java.util.List;

import com.cjy.common.annotation.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

/**
 * @author "kat.luhongkai"
 *
 */
@MyBatisRepository
public interface CompoundsShopMapper {

	/**
	 * @param compoundsId
	 * @return
	 */
	List<Integer> getShopIDsByCompoundsId(int compoundsId);

	/**
	 * @param compoundsId
	 * @param shopsId
     * @return
     */
	double getMarketValueProportion(@Param("compoundsId") int compoundsId, @Param("shopsId") Integer shopsId);

	/**
	 *
	 * @param cityName
	 * @return
     */
	List<Integer> getShopIDsByCityName(@Param("cityName") String cityName);
}
